/******************************************************************************
 * @File name   :      IHandleUserAccountService.java
 *
 * @Author      :      chen shixiang
 *
 * @Date        :      2011-6-28
 *
 * @Copyright Notice: 
 * Copyright (c) 2014 DMS, Inc. All  Rights Reserved.
 * This software is published under the terms of the DMS Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------
 * Date                   Who         Version        Comments
 * 2011-6-28 上午09:44:21        chen shixiang     1.0            Initial Version
 *****************************************************************************/
package com.cap.bts.framework.dm.approval.service;

import com.cap.bts.framework.common.exception.AppException;
import com.cap.bts.framework.common.service.IBaseService;

/**
 *
 */
public interface IHandleUserAccountService extends IBaseService {
    /**
     * transfer data
     * @Date        :      2011-6-27
     * @param oldUserCode
     * @param newUserCode
     * @param isAgreeUserTransfer
     * @return
     */
    boolean transferUserDate(String oldUserCode,String newUserCode,int isAgreeUserTransfer)throws AppException;
    /**
     * update user by approval user group
     * @Date        :      Sep 6, 2011
     * @param employeeCode
     * @param userGroupCode
     * @param organizationCode
     * @param appResult
     * @return
     */
    boolean updateUserGroupByApp(String employeeCode,String userGroupCode,String organizationCode,String caeateUerCode,int appResult)throws AppException;
}
